GetAddressEntry Method (Session Object)  
The GetAddressEntry
method returns an AddressEntry object. 
Syntax 
Set objAddressEntry = objSession.GetAddressEntry(entryID)
Parameters
objAddressEntry
On successful
return, represents the AddressEntry object specified by entryID.
objSession
Required. The
Session object.
entryID
Required.
String that specifies the unique identifier of the address entry.
Example
The following
example displays the name of a user from a MAPI address list:
' from the function Session_GetAddressEntry
    If
objSession Is Nothing Then
        MsgBox
"No active session, must log on"
        Exit
Function
    End If
    If
"" = strAddressEntryID Then
        MsgBox
("Must first set string variable; see AddressEntry->ID")
        Exit
Function
    End If
    Set
objAddrEntry = objSession.GetAddressEntry(strAddressEntryID)
    MsgBox
"full address = " & objAddrEntry.Type & ":" _
            & objAddrEntry.Address
 
See Also
AddressEntry
Object
GetFolder Method (Session Object)
GetMessage Method (Session Object)